# coding:utf-8
# @Time    : 2022/3/23 15:09
# @Author  : Martin
from selenium import webdriver


class BasePage:

    def __init__(self):
        self.driver = webdriver.Chrome()

    def open(self, url):
        self.driver.get(url)


class SuninPage(BasePage):
    url = "http://www.suning.com"
    def search(self):
        self.open(self.url)
        # search代码



if __name__ == '__main__':
    sp = SuninPage()
    sp.search()